package com.github.boluo1230.wechat.entity;

import com.github.boluo1230.wechat.entity.detail.KeywordDetails;
import com.github.boluo1230.wechat.entity.detail.ReplyDetails;
import lombok.Data;
import org.bson.types.ObjectId;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import java.util.Date;
import java.util.List;

/**
 * @author Code Farmer
 * @date 2019/10/12 21:27
 */
@Document(collection = "reply_keywords_info")
@Data
public class AutoReplyKeywordsInfo {

    @Id
    private ObjectId id;
    private String appId;
    private List<KeywordDetails> keywordListInfo;
    private List<ReplyDetails> replyListInfo;
    private String replyMode;//回复类型
    private String ruleName;//回复简介
    private int status;
    private Date createDate;
    private Date updateDate;

}
